package com.woniu.mall.DTO;

import com.woniu.mall.pojo.Coupon;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 1. @description:
 * 2. @author: Lingger
 * 3. @time: 2023/5/27
 */
@ApiModel(value = "生成订单前端传给后端的对象")
@Data
public class MallOrderDTO {

    @ApiModelProperty("地址id")
    private Integer addressId;
    @ApiModelProperty("结算商品列表")
    private List<MallProductDTO> productDTOList;
    @ApiModelProperty("分区优惠券列表")
    private List<Coupon> zoneCouponList;
    @ApiModelProperty("是否使用美团红包")
    private Boolean isRedEnvelope;
    @ApiModelProperty("是否使用美团红包")
    private Boolean isTiantianCoupon;
    @ApiModelProperty("使用商家代金券的商家id列表")
    private List<Integer> storeCouponIdList;
}
